home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 2 / Amiga Tools 2.iso / grafik / bildanzeiger / superview-lib_dev / include / clib / superviewsupport_protos.h < prev    next >
C/C++ Source or Header  |  1995-03-09  |  4KB  |  77 lines

  1. /* clib/superviewsupport_protos.h   */
  2. /* Version    : 6.1                 */
  3. /* Date       : 13.11.1994          */
  4. /* Written by : Andreas R. Kleinert */
  5.  
  6. #ifndef CLIB_SUPERVIEWSUPPORT_PROTOS_H
  7. #define CLIB_SUPERVIEWSUPPORT_PROTOS_H
  8.  
  9. #ifndef SUPERVIEWSUPPORT_SUPERVIEWSUPPORT_H
  10. #include <superviewsupport/superviewsupport.h>
  11. #endif /* SUPERVIEWSUPPORT_SUPERVIEWSUPPORT_H */
  12.  
  13. struct SVSUP_MemList * SVSUP_GetMemList(    void);
  14. void                   SVSUP_FreeMemList(   APTR mlist);
  15. ULONG                  SVSUP_AddMemEntry(   APTR mlist,
  16.                                             APTR pointer);
  17. APTR               SVSUP_AllocMemEntry( APTR mlist,
  18.                                             ULONG size,
  19.                                             ULONG type);
  20.  
  21. ULONG SVSUP_CheckInterleaved(               struct Screen *sc);
  22. UBYTE SVSUP_GetXAspect(                     struct Screen *sc);
  23. UBYTE SVSUP_GetYAspect(                     struct Screen *sc);
  24. ULONG SVSUP_GetBitMapDepth(                 struct Screen *sc);
  25. ULONG SVSUP_GetBitMapHeight(                struct Screen *sc);
  26. ULONG SVSUP_GetBodySize(                    struct Screen *sc);
  27. ULONG SVSUP_GetStdScreenSize(               ULONG mode_id,
  28.                                             ULONG *width,
  29.                                             ULONG *height);
  30.  
  31. ULONG SVSUP_GetBestModeID(                  ULONG width,
  32.                                             ULONG height,
  33.                                             ULONG depth);
  34. ULONG SVSUP_CopyScreenToBuffer8(            struct Screen *sc,
  35.                                             UBYTE *buffer,
  36.                                             ULONG width,
  37.                                             ULONG height,
  38.                                             ULONG depth);
  39.  
  40. /* added with V2 */
  41.  
  42. ULONG SVSUP_LoadControlPad( UBYTE *filename, struct SV_ControlPad **controlpad);
  43. ULONG SVSUP_SaveControlPad( UBYTE *filename, struct SV_ControlPad *controlpad);
  44. ULONG SVSUP_FreeControlPad( struct SV_ControlPad *controlpad);
  45. ULONG SVSUP_FindControlPad( struct SV_ControlPad *controlpad, UBYTE *name, UBYTE **content);
  46.  
  47. /* added with V3 */
  48.  
  49. ULONG SVSUP_BitPlaneToOnePlane8( struct SV_GfxBuffer *sourcegfx, struct SV_GfxBuffer **retgfx);
  50. ULONG SVSUP_OnePlaneToBitPlane8( struct SV_GfxBuffer *sourcegfx, struct SV_GfxBuffer **retgfx);
  51. ULONG SVSUP_ScreenToOnePlane8(   struct Screen *sc, struct SV_GfxBuffer **retgfx);
  52. ULONG SVSUP_ScreenToBitPlane8(   struct Screen *sc, struct SV_GfxBuffer **retgfx);
  53.  
  54. /* added with V4 */
  55.  
  56. ULONG SVSUP_DisplayGfxBuffer(   struct SVSUP_DisplayHandle *displayhandle);
  57. void  SVSUP_UnDisplayGfxBuffer( struct SVSUP_DisplayHandle *displayhandle);
  58. void  SVSUP_FreeGfxBuffer(      struct SV_GfxBuffer *gfxbuffer);
  59.  
  60. /* added with V5 */
  61.  
  62. ULONG SVSUP_FindControlPadNoCase( struct SV_ControlPad *controlpad, UBYTE *name, UBYTE **content);
  63. ULONG SVSUP_ModifyControlPad(     struct SV_ControlPad *controlpad, UBYTE *name, UBYTE *content, ULONG bool);
  64. ULONG SVSUP_AddControlPad(        struct SV_ControlPad *controlpad, UBYTE *name, UBYTE *content, ULONG bool);
  65.  
  66. /* added with V6 */
  67.  
  68. ULONG SVSUP_AllocVMemEntry(       APTR mlist, ULONG size, ULONG type);
  69. APTR  SVSUP_AccessVMemEntry(      APTR mlist, ULONG handle);
  70. ULONG SVSUP_ReleaseVMemEntry(     APTR mlist, ULONG handle);
  71. ULONG SVSUP_ReadVMemBytes(        APTR mlist, ULONG handle, UBYTE *buffer, ULONG offset, ULONG size);
  72. ULONG SVSUP_WriteVMemBytes(       APTR mlist, ULONG handle, UBYTE *buffer, ULONG offset, ULONG size);
  73. ULONG SVSUP_VecToVMemEntry(       APTR mlist, APTR  vector, ULONG newsize);
  74. ULONG SVSUP_GetVMemSize(          ULONG handle);
  75.  
  76. #endif /* CLIB_SUPERVIEWSUPPORT_PROTOS_H */
  77.